package com.ljm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author ChenHuaMing
 * 启动类
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class, scanBasePackages = {"com.ljm"})
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableAsync
@MapperScan({"com.ljm.**.mapper*"})
@EnableCaching
public class LjmProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(LjmProviderApplication.class, args);
    }
}
